<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>操作成功</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="/Public/Tsnews/css/weui.min.css"/>
    <link rel="stylesheet" href="/Public/Tsnews/css/example.css"/>
    <script src="/Public/Tsnews/js/jquery.js"></script>
    <script src="/Public/Tsnews/js/jweixin-1.1.0.js"></script>
    <script>
        $(function(){
            wx.ready(function(){
                //屏蔽菜单
                wx.hideOptionMenu();
            });
            var wait = document.getElementById('wait'),href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time = --wait.innerHTML;
                if(time <= 0) {
                    clearInterval(interval);
                    WeixinJSBridge.call('closeWindow');
                };
            }, 1000);
        });
        function close_window(){
            WeixinJSBridge.call('closeWindow');
        }
    </script>
</head>
<body>
<div class="weui-msg">
    <div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>
    <div class="weui-msg__text-area">
        <h2 class="weui-msg__title">执行成功</h2>
        <a id="href" href="<?php echo($jumpUrl); ?>"></a>
        <p class="weui-msg__desc">系统<span id="wait"><?php echo($waitSecond); ?></span>秒钟后页面自动关闭</p>
    </div>
    <div class="weui-msg__opr-area">
        <p class="weui-btn-area">
            <a href="javascript:close_window();" class="weui-btn weui-btn_default"><?php echo($message); ?></a>
        </p>
    </div>
    <div class="weui-msg__extra-area">
        <div class="weui-footer">
            <p class="weui-footer__links">
                <a href="javascript:void(0);" class="weui-footer__link">中国航天-神舟软件</a>
            </p>
            <p class="weui-footer__text">Copyright &copy; 2008-2017 </p>
        </div>
    </div>
</div>
</body>
</html>